package com.empire.module.member.controller.admin.hotelrecord.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;

import javax.validation.constraints.NotNull;
import java.time.LocalDateTime;

@Schema(description = "管理后台 - 旅馆住宿新增/修改 Request VO")
@Data
public class HotelRecordSaveReqVO {

    @Schema(description = "主键ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "1036")
    private Long id;

    @Schema(description = "重点人id", requiredMode = Schema.RequiredMode.REQUIRED, example = "12004")
    @NotNull(message = "重点人id不能为空")
    private Long personId;

    @Schema(description = "酒店名称", example = "赵六")
    private String hotelName;

    @Schema(description = "酒店地址")
    private String hotelAddress;

    @Schema(description = "入住时间")
    private LocalDateTime checkInTime;

    @Schema(description = "退房时间")
    private LocalDateTime checkOutTime;

    @Schema(description = "房间号")
    private String roomNo;

    @Schema(description = "入住人名字", example = "赵六")
    private String checkInPersonName;

    @Schema(description = "入住人联系电话")
    private String checkInPersonPhone;

}